#! /bin/bash
SCRIPT_DIR=$(cd `dirname $0`; pwd)
echo "======== 一键完成最新数据和备份增量恢复工作 ============="
# "执行远程mongo数据备份..."
bash ${SCRIPT_DIR}/remotemongoback.sh
# echo "远程备份完成!"
# "将远程数据同步到本地..."
bash ${SCRIPT_DIR}/rsyncback.sh
# "使用本地数据构影子库..."
bash ${SCRIPT_DIR}/mongoshadow.sh

